<?
$dtsx=$newModule->getNews(1,100,"","2");
$dtcs=$newModule->getNews(1,100,"","3");
?>

<li id="page_QUITRINH">
    <div class="slogan">Qui Trình</div>
    <div class="box">
        <div class="subbox">
            <h2 class="col2"><?=$dtcs[0]["categoryname"]?></h2>
            <h2 class="col1 pad_left5"><?=$dtsx[0]["categoryname"]?></h2>
            <div class="clear"></div>
            <br/>
            <div class="" style="<?=$paras["process_height"]?>">
                <div class="col2 ">

                    <h4>
                        <?=$dtcs[0]["categorynote"]?>
                    </h4>
                    <?
                    foreach ($dtcs as $rcs){
                        if(!isset($rcs["delete"])){
                            if($rcs["image"]) $small_img=$rcs["image"];
                            if($rcs["small_image"]) $small_img=$rcs["small_image"];

                    ?>
                        <h4>
                            <a href="#!/page_MORE" onclick="loadmore('<?=$rcs["id"]?>');"
                            ><?=$rcs["title_second"]?></a>                          
                        </h4>                                
                        <h4>
                            <?=$rcs["title"]?>
                        </h4>
                        <p class="">
                            <?=$rcs["brief"]?>
                        </p>
                        <div class="line2"></div>
                    <?
                        }
                    }
                    unset($rcs);
                    unset($dtcs);
                    ?>

                </div>
                <div class="col1 pad_left5">

                    <h4>
                        <?=$dtsx[0]["categorynote"]?>
                    </h4>
                    <br/>
                    <?
                    foreach ($dtsx as $rsx){
                        if(!isset($rsx["delete"])){
                            if($rsx["image"]) $small_img=$rsx["image"];
                            if($rsx["small_image"]) $small_img=$rsx["small_image"];

                    ?>
                        <a href="<?=$small_img?>" rel="prettyPhoto[album_<?=$rsx["album"]?>]"><img src="<?=$small_img?>" class="left img1 border1 border2 radius1 i1"></a>
                        <h4>
                            <a href="javascript:loadmore('<?=$rsx["id"]?>');"><?=$rsx["title"]?></a>
                        </h4>
                        <p class="text">
                        <?=$rsx["brief"]?>
                        </p>
                        <a href="#!/page_MORE" class="button1" onclick="loadmore('<?=$rsx["id"]?>');"><span></span><strong>Chi Tiết</strong></a> 
                        <div class="clear"></div>
                    <?
                        }
                    }
                    unset($rsx);
                    unset($dtsx);
                    ?>


                </div>

                <div class="clear"></div>
            </div>
        </div>
    </div>
</li>